﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HRM.Model
{
    public class WorkingExperience:IEntityService<QuaTrinhCongTac>
    {

        public List<QuaTrinhCongTac> GetAll()
        {
            using (HRMEntities entities = new HRMEntities())
            {
                return entities.QuaTrinhCongTacs.Include("ChucVu").Include("MaPhongBan").ToList();
            }
        }

        public bool Add(QuaTrinhCongTac entity)
        {
            throw new NotImplementedException();
        }

        public bool Update(QuaTrinhCongTac entity)
        {
            throw new NotImplementedException();
        }

        public bool Delete(QuaTrinhCongTac entity)
        {
            throw new NotImplementedException();
        }

        public bool DeleteList(List<QuaTrinhCongTac> list)
        {
            throw new NotImplementedException();
        }

        public List<QuaTrinhCongTac> GetPaging(int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        public int GetNumberOfPages(int pageSize)
        {
            throw new NotImplementedException();
        }
    }
}
